package com.song.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties(prefix = "file")
@PropertySource(value = "classpath:/properties/config.properties")
public class FileConfig {

    private String uploadPath;

    private String downloadJdkPath;

    public String getDownloadJdkPath() {
        return downloadJdkPath;
    }

    public void setDownloadJdkPath(String downloadJdkPath) {
        this.downloadJdkPath = downloadJdkPath;
    }

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }
}
